package com.aftersale.demo.service.impl;

import com.aftersale.demo.entity.RolePermission;
import com.aftersale.demo.mapper.RolePermissionMapper;
import com.aftersale.demo.service.RolePermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class RolePermissionServiceImpl extends ServiceImpl<RolePermissionMapper, RolePermission>
    implements RolePermissionService{
    @Autowired RolePermissionMapper rolePermissionMapper;
    @Override
     public List<Integer> rp(Integer roleId){
        return rolePermissionMapper.rp(roleId);
    }
}




